package cn.tedu.csmall.passport.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class AdminUpdateInfoParam implements Serializable {

    @NotNull(message = "必须提交用户名！")
    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    @NotNull(message = "必须提交昵称！")
    @ApiModelProperty(value = "昵称",required = true)
    private String nickname;
    @NotNull(message = "必须提交密码！")
    @ApiModelProperty(value = "密码",required = true)
    private String password;
    @NotNull(message = "必须提交头像！")
    @ApiModelProperty(value = "头像",required = true)
    private String avatar;
    @NotNull(message = "必须提交电话！")
    @ApiModelProperty(value = "电话",required = true)
    private String phone;
    @NotNull(message = "必须提交邮箱！")
    @ApiModelProperty(value = "邮箱",required = true)
    private String email;
    @NotNull(message = "必须提交描述！")
    @ApiModelProperty(value = "描述",required = true)
    private String description;
    @NotNull(message = "必须说明是否启用！")
    @ApiModelProperty(value = "启用",required = true)
    private Integer enable;
//    @NotNull(message = "必须为管理员指定角色！")
//    @ApiModelProperty(value = "管理员的角色id", required = true)
//    private List<Long> roleIds;

}
